const buf1=new Buffer('gkd');
console.log(buf1);
const buff2=Buffer.from('gkd');
console.log(buff2);
const buf3=Buffer.from('你好啊');
console.log(buf3);
const buf4=Buffer.from('你好啊','utf16le');
const res=buf4.toString('utf-8');
console.log(res);